﻿<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8" />
    <title>@ViewBag.Title</title>
    <link href="@Url.Content("~/Content/Site.css")" rel="stylesheet" type="text/css" />
    <script src="@Url.Content("~/Scripts/jquery-1.6.2.min.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/modernizr-1.7.min.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/jquery.unobtrusive-ajax.min.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/jquery-ui-1.8.16.min.js")" type="text/javascript"></script>
    <link href="@Url.Content("~/Content/themes/base/jquery-ui.css")" rel="stylesheet" type="text/css" />
    <script src="@Url.Content("~/Scripts/jQuery.tmpl.min.js")" type="text/javascript"></script>
    <link href="/Content/prettyPhoto.css" rel="stylesheet" type="text/css" />
    <script src="/Scripts/jquery.prettyPhoto.js" type="text/javascript"></script>

    <script type="text/javascript">
        jQuery(function ($) {
            $('input[data-val-range-min], input[data-val-range-max]').each(function (i, e) {
                var input = $(e);
                var slider = input.after('<div class="slider" style="width: 200px"></div>').next();

                var min = input.attr('data-val-range-min');
                var max = input.attr('data-val-range-max');

                $(slider).slider({
                    min: min,
                    max: max,
                    value: input.val() ? parseInt(input.val()) : 0,
                    slide: function (event, ui) {
                        input.val(ui.value);
                        input.trigger('keyup');
                    }
                });
            });
        });
    </script>
</head>
<body>
    <div class="page">
        <header>
            <div id="title">
                <h1>Open PAC</h1>
            </div>
            <div id="logindisplay">
                @Html.Partial("_LogOnPartial")
            </div>
            <nav>
                <ul id="menu">
                    <li>@Html.ActionLink("Home", "Index", "Home")</li>
                    <li>@Html.ActionLink("About", "About", "Home")</li>
                </ul>
            </nav>
        </header>
        <section id="main">
            @RenderBody()
        </section>
        <footer>
        </footer>
    </div>
</body>
</html>
